#ifndef CHECKIN_H
#define CHECKIN_H

#include "login.h"
#include <QObject>
#include"admininfo.h"
#include"studentinfo.h"
#include "teacherinfo.h"

using namespace std;
namespace Ui {
class Checkin;
}

class Checkin : public QObject
{
    Q_OBJECT

public:
     Checkin(QObject *parent = 0);
    ~Checkin();
    void showLoginW(void);
    void showNowtime(void);
    void show(void);
    void initWindow();


public slots:
    void slotAdminLoginSuccess(AdminInfo info);
    void slotStudentLoginSuccess(StudentInfo info);
    void slotTeacherLoginSuccess(TeacherInfo info);

private:
   Ui::Checkin  *ui;
   Login  *m_loginW;
   AdminInfo m_admininfo;
   TeacherInfo m_teacherinfo;
   StudentInfo m_studentinfo;
};

#endif // CHECKIN_H
